package 抽象类作业;

public class MikeTeaTest {
    public static void main(String[] args) {


        MikeTea bubble = new bubbleTea() {
            @Override
            void prepareMikeAndTea() {
                System.out.println("给珍珠奶茶准备茶和奶茶");
            }

            @Override
            void pack() {
                System.out.println("给珍珠奶茶准备打包盒");
            }
        };
        bubble.prepareMikeAndTea();
        bubbleTea b1 = (bubbleTea) bubble;
        b1.Bubble();
        bubble.pack();
    }
}
